home *** CD-ROM | disk | FTP | other *** search
-
- This si SmartDisk, written by David Le Blanc.
-
- It is an '8-Way set associative' cache, with 8 sets, lines of 4 sectors with
- prefetch, and 32 lines. If you under stand cache jargon, then you'd know that
- adds up to:
-
- 32*4*8*512 = 524288 or 512K and sectors are 'prefetched' four at a time.
-
- The frefetch strips time of program loading and directories. It may
- work against you on a heavily fragmented disk, but there is a general
- noticable gain in performance EVEN when the data you want is not in
- the cache.
-
- So, this cache uses 512k, which gets allocated as the cache expands.
- There are a few limitations, but thats only because all parameters are
- hard coded into the source.
-
- Since you cannot specify the type of drive you have, there are three versions
- in the archive.
-
- SmartDisk.xt : Any xt.device user (A590 xt/ide drive)
- SmartDisk.scsi : Any scsi.device user, (a590 scsi, A2091 etc)
- SmartDisk.gvpscsi : Any gvpscsi.device user, namely all GVP controllers.
-
- * SmartDisk 1.3.
- *
- * Created by David Le Blanc 29/10/91 Absolutely no copywrite. But if you improve
- * it, please send me a new version (with source!)
- *
- * Some performance quotes: (Doesn't everyone make these??)
- * Background: I have a directory called MAN: which has 355 manuals.
- *
- * WARNING: These are bad examples, since a 'dir' reads the disk, then sorts the
- * contents, then writes the data to the screen. These times include the sorting
- * and output of the directory. This sorting and output time is in the order
- * of 1.5 to 2 seconds.
- *
- * Normal DIR MAN: 12 seconds
- * Cache enabled but empty 9 seconds (prefetch does work!)
- * Cache primed 5 seconds.
- *
- * With a slower drive and/or faster machine these times can only improve.
- * I have a drive capable of 800k/sec on my unaccelerated A500. Those with
- * a 150K/sec A590 would notice a greater performance boost. Same for those
- * with 'bloody fast machines' (grumble :) If I was REALLY worried about making
- * the statistic look good, then I'd test it on an A590.
- *
-